package com.ttmall.service;

import com.ttmall.common.pojo.EasyUIDataGridResult;
import com.ttmall.common.pojo.TaotaoResult;
import com.ttmall.pojo.TbContent;

import java.util.List;

/**
 * Created by GalaIO on 2018/1/18.
 */
public interface ContentService {

    EasyUIDataGridResult listContentByContentCatId(Long contentCatId, Integer pages, Integer row);

    TaotaoResult insertContent(TbContent tbContent);

    TaotaoResult updateContent(TbContent tbContent);

    TaotaoResult deleteContent(List<Long> ids);

    TaotaoResult getContentById(Long id);
}
